package br.com.moxeon.model.enums;

public enum Period {
	DIARIO("Diário"),
	SEMANAL("Semanal"),
	MENSAL("Mensal");
	
	private String desc;

	private Period(String desc){
		this.desc = desc;
	}
	
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public static Period getPeriodById(Integer id) {  
        return Period.values()[id];  
      }  
}